<?php

namespace Tests\XinSheng;

use PHPUnit\Framework\TestCase;
use XinSheng\RentByIrr;

class TestRentByIrr extends TestCase
{

    public function testGetRent()
    {
        $rbi = new RentByIrr(1000000.00, 200000.00, 0.00, 0.00, 20000.00, 0.11, 36);
        $rent = $rbi->getRent();
        var_dump($rent);
        self::assertIsFloat($rent);
    }
}
